package com.wkbb.common.config;

import com.alibaba.fastjson.serializer.BigDecimalCodec;
import lombok.Data;
import net.sf.jsqlparser.schema.Database;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.math.BigDecimal;

@ConfigurationProperties(prefix="wkbb.basic")
@Configuration
@Data
public class ServiceConfig {

    //#图片访问路径
    private String fileDownloadPath;

    //# Redis存放系统参数库
    private Integer sysRedisDatabase;

    //# Redis存放系统参数
    private Integer tokenRedisDatabase;

    //#系统访问地址
    private String host;

    //#支付回调地址
    private String payCallBack;

    //#h5页面访问地址
    private String h5url;

    //老系统接口地址
    private String oldPlatFormHost;

    //IM群图像路径
    private String imGroupPicUrl;

    //当前运行环境
    private String profilesActive;

    // token key
    private String tokenSecretKey;

    private String tokenAlgorithm;
    //IM注册帐号开关
    private String imRegister;

    //配置人脸对比精确度
    private BigDecimal faceCompare;
    //老师男
    private String teacherManPicUrl;
    //老师女
    private String teacherWoManPicUrl;
    //家长男
    private String familyManPicUrl;
    //家长女
    private String familyWoManPicUrl;

    //考勤默认图片
    private String attendMsgPicUrl;

    //体育默认图片
    private String sportMsgPicUrl;

}
